import { sdkcli } from './sdkcli';
const vocabulary: { key: string; text: string }[] = [
  {
    key: 'PcWeb.Text',
    text: '11111111111',
  },
];
export function t(key: string) {
  const value = vocabulary.find((v) => {
    return v.key === key;
  });
  const res = sdkcli.waitSync('PcWeb', 'Translate', value);
  if (res) {
    return res.Text;
  }
  return value?.text;
}
